package com.zzyl.nursing.job;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TimeTaskTest {

//    @Scheduled(corn= "0/2 * * * * ?")
    public void run()
    {
        System.out.println("执行静态定时任务时间: " + System.currentTimeMillis());
    }
}
